package com.example.tianyidemo.service.impl;

import com.example.tianyidemo.Mapper.DelcricleMapper;
import com.example.tianyidemo.service.DelcricleService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Delcricleimpl implements DelcricleService {
    @Autowired
    private DelcricleMapper delcricleMapper;
    @Override
    public boolean deletecricle(String uniqueStr) {
        int result = delcricleMapper.deleteByUniqueStr(uniqueStr);
        System.out.println(uniqueStr);

        return result > 0;
    }
}
